<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			li{
				width: 300px;
				height: 50px;
				margin-bottom: 20px;
				border: 1px solid pink;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>知否知否，应是有游戏在手！</li>
			<li>知否知否，应是有游戏在手！</li>
			<li>知否知否，应是有游戏在手！</li>
			<li>知否知否，应是有游戏在手！</li>
			<li>知否知否，应是有游戏在手！</li>
			<li>知否知否，应是有游戏在手！</li>
		</ul>
		
	<script>
	 var oul=document.querySelector('ul');
		
	oul.addEventListener('click',function(e){
		e.target.style.background="yellowgreen";
	})	
		
		
		
	</script>	
		
	</body>
</html>
